@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/tajawal/v9/Iura6YBj_oCad4k1nzSBC45I.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

:root {
  --primary: #10B981;
  --primary-dark: #059669;
  --secondary: #111827;
  --gray-light: #F9FAFB;
  --gray-mid: #E5E7EB;
  --gray-dark: #4B5563;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Tajawal', sans-serif;
}

.font-tajawal {
  font-family: 'Tajawal', sans-serif;
}

.font-geist-mono {
  font-family: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-mid);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-dark);
}

/* Phase Roadmap Styling */
.roadmap-phase:last-child {
  border-right: none;
  padding-bottom: 0;
}

/* Car Preview Container */
.car-preview-container {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-preview-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

/* Button hover effects */
button {
  transition: all 0.2s ease;
}

button:active {
  transform: scale(0.98);
}

/* Feature card hover effect */
.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .roadmap-phase {
    padding-right: 1.5rem;
  }
  
  .phase-indicator {
    right: -6px;
  }
}

/* Animation for charts */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

canvas {
  animation: fadeIn 0.8s ease-out;
}

/* Custom glassy effect for hero controls */
.car-controls button {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.car-controls button:hover {
  background-color: rgba(0, 0, 0, 0.6);
  transform: scale(1.05);
}

/* Custom utility classes */
.text-gradient-primary {
  background: linear-gradient(to right, #10B981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
